<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>13-数学</title>

</head>
<body>
<body>
<!--


-->
<script >
    let n = 1234.567
    var number=Math.round(n)
    console.log(number)

    var number4 = Math.floor(n);
    console.log(number4);
    var number3 = Math.ceil(n);
    console.log(number3);

    for(let i=0; i<10; i++){
        var number2 = Math.random();
        console.log(number2);
    }

</script>
</body>
</html>